#ifndef DTOFlight_H_
#define DTOFlight_H_

#include "DTO.h"

class DTOFlight: public DTO {
public:
	DTOFlight();

	DTOFlight(std::string& aDeserealizar);
	DTOFlight(unsigned int flightId,unsigned int state,int runwayId = -1);
	virtual ~DTOFlight();

	virtual std::string serializar();

	unsigned int getFlightId();
	unsigned int getState();
	int getRunwayId();

	std::string toString();
protected:
	virtual void deserializar(std::string& string);
private:
	unsigned int flightId;
	unsigned int state;
	int runwayId;

};

#endif /* DTOFlight_H_ */
